package org.cyhz.domain;

/**
 * 
 * @Title: SBrandVO.java
 * @Package org.cyhz.domain
 * @Description: 标准品牌
 * @author Corleone
 * @date 2013年11月20日 上午11:52:24
 * @version V1.0
 */
public class SbVO {
	private int id;
	private String sbrand;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getSbrand() {
		return sbrand;
	}

	public void setSbrand(String sbrand) {
		this.sbrand = sbrand;
	}

	public SbVO() {
		super();
	}

	public SbVO(int id, String sbrand) {
		this.id = id;
		this.sbrand = sbrand;
	}

	public boolean equals(Object o) {
		boolean flag = false;
		if (o instanceof SbVO) {
			if (this.getSbrand().equals(((SbVO) o).getSbrand())) {
				flag = true;
			}
		}
		return flag;
	}

	@Override
	public int hashCode() {
		return this.getSbrand().hashCode();
	}

	@Override
	public String toString() {
		return "SbVO [id=" + id + ", sbrand=" + sbrand + "]";
	}

}
